package com.itheima.reggie.service;

import com.itheima.reggie.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    //添加购物车
    ShoppingCart addCart(ShoppingCart shoppingCart);
    //获取购物车集合，根据用户id
    List<ShoppingCart> list(Long userId);
}
